package com.x.client.bean

import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize

/**
 * Creator : GG
 * Date    : 2018/1/8
 * Mail    : gg.jin.yu@gmai.com
 * Explain :
 */
@Parcelize
data class Resource(
        @SerializedName("applicationId") var applicationId: String? = "", //171220110147618
        @SerializedName("resourceCreateTime") var resourceCreateTime: Long? = 0, //1514971774000
        @SerializedName("resourceIcon") var resourceIcon: String? = "", //home
        @SerializedName("resourceId") var resourceId: String? = "", //73900
        @SerializedName("resourceModifyTime") var resourceModifyTime: Long? = 0, //1515374459000
        @SerializedName("resourceName") var resourceName: String? = "", //首页
        @SerializedName("resourceParentId") var resourceParentId: String? = "", //1
        @SerializedName("resourceRemark") var resourceRemark: String? = null, //1
        @SerializedName("resourceSeq") var resourceSeq: Int? = 0, //1
        @SerializedName("resourceState") var resourceState: Int? = 0, //1
        @SerializedName("resourceType") var resourceType: Int? = 0, //1
        @SerializedName("resourceUrl") var resourceUrl: String? = "", ///home
        @SerializedName("resourceList") var resourceList: List<Resource?>? = listOf(),
        var count: Int = 0,
        var carNum: Int? = -1
) : Parcelable
